import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/Home'
import Element from 'element-ui'
import Login from '../components/Login'
Vue.use(Router);
Vue.use(Element);


export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path:'/login',
      name:'Login',
      component:Login,
    }
  ]
})
